import { http } from "@/utils/http";

// 列表
export const getPriceList = data => {
  return http.request("post", "/energy/performance/listStandard", {
    data
  });
};

// 更新单价配置
export const updatePrice = data => {
  return http.request("post", `/energy/performance/updateStandard`, {
    data
  });
};

// 查看单价配置
export const viewPrice = data => {
  return http.request("post", `/energy/performance/viewStandard`, {
    data
  });
};

// 删除单价配置
export const delPrice = data => {
  return http.request("post", `/energy/performance/delStandard`, {
    data
  });
};
